# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-seqdiag
_pkgname=sphinxcontrib-seqdiag
pkgver=2.0.0
pkgrel=0
pkgdesc="Sphinx seqdiag extension"
url="https://pypi.python.org/pypi/sphinxcontrib-seqdiag"
arch="noarch"
license="BSD-2-Clause"
depends="py3-seqdiag py3-sphinx"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-seqdiag" # for backwards compatibility
provides="py-sphinxcontrib-seqdiag=$pkgver-r$pkgrel" # for backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6136bf53af5f69b1dfd08bca65a8f9831ec7a5dbef23ce452e99296ead721aebf21a9fdbba01e402108830916109a17ba0e84f76fba6a67685b70d07932b39ba  sphinxcontrib-seqdiag-2.0.0.tar.gz"
